public class SplitNumber {


	public static void main(String[] args) {
		String s = new String("10101010");

		String[] str = s.split("");

		for(int i = 0; i<str.length; i++){
			System.out.println(str[i]);	
		}

	}
}
